package com.borrowed.book.system.service.impl;

import com.borrowed.book.system.service.ISysDictService;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;


@Component
public class InitDictionariesCacheRunner implements CommandLineRunner {
    @Autowired
    private ISysDictService dictService;

    @Override
    public void run(String... args) throws Exception {
       // dictService.refreshCache();
    }
}
